page {
  overflow-y: hidden;
}

.main {
  width: 100vw;
  position: relative;
  height: 100%;
  background-color: #f6f7fb;
  display: flex;
  flex-direction: column;

  .mask {
    width: 100%;
    height: var(--status-bar-height);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: #ddf1ff;
  }

  .scroll {
    height: calc(100vh - var(--status-bar-height));
    overflow: hidden;
    background-color: #f6f7fb;

    .scroll_top {
      position: relative;
      z-index: 10;
      background: linear-gradient(
        180deg,
        #ddf1ff 56%,
        rgba(216, 216, 216, 0) 100%
      );

      .top_search {
        display: flex;
        align-items: center;
        padding: 20rpx 33rpx 10rpx;
      }

      .tip {
        display: flex;
        justify-content: space-between;
        padding: 0 30rpx;
        margin-top: 20rpx;

        .tip_item {
          display: flex;
          align-items: center;
          .tip_img {
            width: 28rpx;
            height: 28rpx;
          }

          .tip_text {
            margin-left: 5rpx;
            color: #000;
            font-size: 24rpx;
          }
        }
      }

      .top_nav {
        display: flex;
        margin-top: 30rpx;
        padding: 0 30rpx;
        width: 100%;
        height: 320rpx;

        .nav_left {
          width: 335rpx;
          height: 320rpx;
          margin-right: 20rpx;
          background: url("@/static/img/exchange/fast_bg.png") no-repeat;
          background-size: 100% 100%;
        }

        .nav_right {
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          .right_item {
            width: 340rpx;
            height: 148rpx;
          }

          .top {
            margin-bottom: 20rpx;
            background: url("@/static/img/exchange/find_teacher_bg.png")
              no-repeat;
            background-size: 100%;
          }

          .bottom {
            background: url("@/static/img/exchange/reply_bg.png") no-repeat;
            background-size: 100%;
          }
        }

        .nav_left,
        .nav_right {
          .nav_title {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 80rpx;
            margin-left: 37rpx;
            margin-top: 40rpx;

            .nav_topTitle {
              color: #ffffff;
              font-weight: 500;
              font-size: 32rpx;
            }

            .nav_bottomTitle {
              color: #ffffff;
              font-size: 24rpx;
            }
          }
        }
      }
    }

    .teacher {
      padding: 0 30rpx;
      padding-top: 60rpx;
      width: 100%;

      .teacher_list {
        display: flex;
        margin-top: 30rpx;

        .teacher_item {
          width: 335rpx;
          height: 377rpx;
          background: #fff;
          border-radius: 20rpx;

          &:first-child {
            margin-right: 20rpx;
          }

          .avatar {
            width: 335rpx;
            height: 234rpx;
            border-radius: 20rpx 20rpx 0 0;
          }

          .teacher_info {
            margin: 20rpx 10rpx 0 10rpx;

            .teacher_nickname {
              font-size: 32rpx;
              font-weight: bold;
              margin: 10rpx 0;
            }

            .teacher_tags {
              color: #999;
              font-size: 24rpx;
              height: 32rpx;
              line-height: 32rpx;
            }
          }
        }
      }
    }

    .main_body {
      margin-top: 30rpx;
      background-color: #fff;
      padding: 0 30rpx;

      .main_nav {
        position: relative;
        border-bottom: 1rpx solid #eeeeee;
      }

      .ask {
        padding: 0 12rpx;

        .ask_type {
          margin-top: 30rpx;
          display: flex;
          flex-wrap: wrap;

          .tags {
            padding: 10rpx 30rpx;
            display: flex;
            margin: 0 30rpx 20rpx 0;
            height: 56rpx;
            min-width: 160rpx;
            align-items: center;
            justify-content: center;
            border-radius: 74rpx;
            font-size: 28rpx;
            color: #666666;
            background: #f6f6f6;
          }

          .active {
            background: #edf6ff;
            color: #1c87f3;
          }
        }

        .ask_item {
          padding-bottom: 22rpx;

          .ask_line {
            height: 1rpx;
            background-color: #eee;
          }

          .ask_title {
            margin-top: 26rpx;
            font-size: 32rpx;
            font-weight: bold;
            color: #333333;
            line-height: 46rpx;
            letter-spacing: 1rpx;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
          }

          .ask_session {
            margin-top: 20rpx;
            background-color: #f8fafd;
            padding: 20rpx 30rpx 30rpx 30rpx;

            .ask_session_title {
              display: flex;
              align-items: center;

              .ask_session_name {
                font-size: 22rpx;
                color: #333;
                margin-left: 13rpx;
              }
            }

            .ask_session_content {
              margin-top: 14rpx;
              font-size: 24rpx;
              color: #666666;
              display: -webkit-box;
              -webkit-box-orient: vertical;
              -webkit-line-clamp: 2;
              overflow: hidden;
              line-height: 30rpx;
            }
          }

          .ask_view {
            margin-top: 16rpx;
            display: flex;
            justify-content: space-between;

            .ask_view_time {
              color: #999;
              font-size: 24rpx;
            }
          }
        }
      }
    }
  }
}

.answer {
  padding-bottom: 100rpx;

  .answer_item {
    padding-bottom: 22rpx;

    &:not(:first-child) {
      border-top: 1rpx solid #eee;
    }

    .answer_icon {
      margin-top: 26rpx;
      display: flex;
      align-items: center;

      .answer_img {
        width: 36rpx;
        height: 36rpx;
      }

      .answer_text {
        margin-left: 10rpx;
        color: #666666;
        font-size: 26rpx;
      }
    }

    .answer_title {
      margin-top: 20rpx;
      color: #333333;
      font-weight: 500;
      line-height: 46rpx;
      font-size: 32rpx;
      letter-spacing: 1rpx;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
    }

    .answer_bottom {
      margin-top: 16rpx;
      display: flex;
      align-items: center;
      justify-content: space-between;

      .answer_bottom_time {
        font-size: 24rpx;
        color: #999999;
      }

      .answer_bottom_status {
        display: flex;
        align-items: center;

        .answer_bottom_img {
          width: 26rpx;
          height: 26rpx;
        }

        .answer_bottom_text {
          margin-left: 10rpx;
          color: #333333;
          font-size: 28rpx;
        }

        .answer_bottom_text1 {
          color: #999999;
          font-size: 28rpx;
        }
      }
    }
  }
}

.ask_btn {
  margin: 0 auto;
  margin-top: 50rpx;
  margin-bottom: 50rpx;
  width: 180rpx;
  height: 60rpx;
  color: #1c87f3;
  border-radius: 70rpx;
  font-size: 24rpx;
  border: 2rpx solid #1c87f3;
}
